package equations;

import java.util.ArrayList;



public class AdditionStub implements MathFactsCategory{

	private ArrayList<Problem> problems1x;
	private ArrayList<Problem> problems2x;
	private ArrayList<Problem> problems3x;
	private ArrayList<Problem> problems4x;
	private ArrayList<Problem> problems5x;
	private ArrayList<Problem> problems6x;
	private ArrayList<Problem> problems7x;
	private ArrayList<Problem> problems8x;
	private ArrayList<Problem> problems9x;
	
	public AdditionStub(){
		//1x equations
		problems1x=new ArrayList<Problem>();
		problems1x.add(new Problem(" 1 + 3 = ","4"));
		problems1x.add(new Problem(" 1 + 7 = ","8"));
		problems1x.add(new Problem(" 1 + 2 = ","3"));
		problems1x.add(new Problem(" 1 + 9 = ","10"));
		problems1x.add(new Problem(" 1 + 6 = ","7"));
		problems1x.add(new Problem(" 1 + 4 = ","5"));
		problems1x.add(new Problem(" 1 + 8 = ","9"));
		problems1x.add(new Problem(" 1 + 1 = ","2"));
		problems1x.add(new Problem(" 1 + 5 = ","6"));
		
		//2x equations
		problems2x = new ArrayList<Problem>();
		problems2x.add(new Problem(" 2 + 4 = ","6"));
		problems2x.add(new Problem(" 2 + 6 = ","8"));
		problems2x.add(new Problem(" 2 + 1 = ","3"));
		problems2x.add(new Problem(" 2 + 7 = ","9"));	
		problems2x.add(new Problem(" 2 + 3 = ","5"));	
		problems2x.add(new Problem(" 2 + 8 = ","10"));
		problems2x.add(new Problem(" 2 + 2 = ","4"));
		problems2x.add(new Problem(" 2 + 5 = ","7"));
		problems2x.add(new Problem(" 2 + 9 = ","11"));
		
		//3x equations
		problems3x = new ArrayList<Problem>();
		problems3x.add(new Problem(" 3 + 2 = ","5"));
		problems3x.add(new Problem(" 3 + 5 = ","8"));
		problems3x.add(new Problem(" 3 + 3 = ", "6"));
		problems3x.add(new Problem(" 3 + 9 = ", "12"));
		problems3x.add(new Problem(" 3 + 1 = ", "4"));
		problems3x.add(new Problem(" 3 + 6 = ", "9"));
		problems3x.add(new Problem(" 3 + 8 = ", "11"));
		problems3x.add(new Problem(" 3 + 4 = ", "7"));
		problems3x.add(new Problem(" 3 + 7 = ", "10"));
		
		//4x equations
		problems4x = new ArrayList<Problem>();
		problems4x.add(new Problem(" 4 + 6 = ", "10"));
		problems4x.add(new Problem(" 4 + 9 = ", "13"));
		problems4x.add(new Problem(" 4 + 4 = ", "8"));
		problems4x.add(new Problem(" 4 + 1 = ", "5"));
		problems4x.add(new Problem(" 4 + 3 = ", "7"));
		problems4x.add(new Problem(" 4 + 7 = ", "11"));
		problems4x.add(new Problem(" 4 + 2 = ", "6"));
		problems4x.add(new Problem(" 4 + 5 = ", "9"));
		problems4x.add(new Problem(" 4 + 8 = ","12"));
		
		//5x equations
		problems5x = new ArrayList<Problem>();
		problems5x.add(new Problem(" 5 + 8 = ", "13"));
		problems5x.add(new Problem(" 5 + 2 = ", "7"));
		problems5x.add(new Problem(" 5 + 5 = ", "10"));
		problems5x.add(new Problem(" 5 + 7 = ", "12"));
		problems5x.add(new Problem(" 5 + 1 = ", "6"));
		problems5x.add(new Problem(" 5 + 9 = ", "14"));
		problems5x.add(new Problem(" 5 + 3 = ", "8"));
		problems5x.add(new Problem(" 5 + 6 = ", "11"));
		problems5x.add(new Problem(" 5 + 4 = ", "9"));
	
		//6x equations
		problems6x = new ArrayList<Problem>();
		problems6x.add(new Problem(" 6 + 9 = ", "15"));
		problems6x.add(new Problem(" 6 + 6 = ", "12"));
		problems6x.add(new Problem(" 6 + 1 = ", "7"));
		problems6x.add(new Problem(" 6 + 4 = ", "10"));
		problems6x.add(new Problem(" 6 + 8 = ", "14"));
		problems6x.add(new Problem(" 6 + 2 = ", "8"));
		problems6x.add(new Problem(" 6 + 7 = ", "13"));
		problems6x.add(new Problem(" 6 + 3 = ", "9"));
		problems6x.add(new Problem(" 6 + 5 = ", "11"));
		
		//7x equations
		problems7x = new ArrayList<Problem>();
		problems7x.add(new Problem(" 7 + 1 = ", "8"));
		problems7x.add(new Problem(" 7 + 4 = ","11"));
		problems7x.add(new Problem(" 7 + 9 = ", "16"));
		problems7x.add(new Problem(" 7 + 3 = ", "10"));
		problems7x.add(new Problem(" 7 + 7 = ", "14"));
		problems7x.add(new Problem(" 7 + 5 = ", "12"));
		problems7x.add(new Problem(" 7 + 2 = ", "9"));
		problems7x.add(new Problem(" 7 + 6 = ", "13"));
		problems7x.add(new Problem(" 7 + 8 = ", "15"));
		
		//8x equations
		problems8x = new ArrayList<Problem>();
		problems8x.add(new Problem(" 8 + 5 = ", "13"));
		problems8x.add(new Problem(" 8 + 1 = ", "9"));
		problems8x.add(new Problem(" 8 + 6 = ", "14"));
		problems8x.add(new Problem(" 8 + 2 = ", "10"));
		problems8x.add(new Problem(" 8 + 8 = ", "16"));
		problems8x.add(new Problem(" 8 + 7 = ", "15"));
		problems8x.add(new Problem(" 8 + 4 = ", "12"));
		problems8x.add(new Problem(" 8 + 9 = ", "17"));
		problems8x.add(new Problem(" 8 + 3 = ", "11"));
		
		//9x equations
		problems9x = new ArrayList<Problem>();
		problems9x.add(new Problem(" 9 + 7 = ", "16"));
		problems9x.add(new Problem(" 9 + 3 = ", "12"));
		problems9x.add(new Problem(" 9 + 1 = ","10"));
		problems9x.add(new Problem(" 9 + 8 = ","17"));
		problems9x.add(new Problem(" 9 + 4 = ", "13"));
		problems9x.add(new Problem(" 9 + 9 = ", "18"));
		problems9x.add(new Problem(" 9 + 6 = ", "15"));
		problems9x.add(new Problem(" 9 + 2 = ", "11"));
		problems9x.add(new Problem(" 9 + 5 = ","14"));

	}

	@Override
	public ArrayList<Problem> getProblem1() {
		return problems1x;
	}

	@Override
	public ArrayList<Problem> getProblem2() {
		return problems2x;
	}

	@Override
	public ArrayList<Problem> getProblem3() {
		return problems3x;
	}

	@Override
	public ArrayList<Problem> getProblem4() {
		return problems4x;
	}

	@Override
	public ArrayList<Problem> getProblem5() {
		return problems5x;
	}

	@Override
	public ArrayList<Problem> getProblem6() {
		return problems6x;
	}

	@Override
	public ArrayList<Problem> getProblem7() {
		return problems7x;
	}

	@Override
	public ArrayList<Problem> getProblem8() {
		return problems8x;
	}

	@Override
	public ArrayList<Problem> getProblem9() {
		return problems9x;
	}
	

	
	@Override
	public String toString(){
		return "Addition";
	}
	

}
